package util

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"net/url"
)

func GetQueryContext(str string) *gin.Context {
	return &gin.Context{Request: &http.Request{URL: &url.URL{RawQuery: str}}}
}
